package com.stone.business.workcard.pojo;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(name="TAB_WXDFX")
public class Wxdfx {
	private long id_sno = Long.parseLong("0");
	private long p_idsno=Long.parseLong("0");//主表id
	private String oc_wxd;					 //危险点（因素）
	private String oc_ffkzcs;					 //防范控制措施
	private String oc_gzzt;//00：未执行 01:已完成 02：正在执行 
	private String oc_wcsj;
	private String oc_fzr;
	@Id	
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_TAB_WXDFX")
	@SequenceGenerator(name="SEQ_TAB_WXDFX",allocationSize=1, sequenceName="SEQ_TAB_WXDFX")
	public long getId_sno() {
		return id_sno;
	}
	public void setId_sno(long idSno) {
		id_sno = idSno;
	}
	public long getP_idsno() {
		return p_idsno;
	}
	public void setP_idsno(long pIdsno) {
		p_idsno = pIdsno;
	}
	public String getOc_wxd() {
		return oc_wxd;
	}
	public void setOc_wxd(String ocWxd) {
		oc_wxd = ocWxd;
	}
	public String getOc_ffkzcs() {
		return oc_ffkzcs;
	}
	public void setOc_ffkzcs(String ocFfkzcs) {
		oc_ffkzcs = ocFfkzcs;
	}
	public String getOc_gzzt() {
		return oc_gzzt;
	}
	public void setOc_gzzt(String ocGzzt) {
		oc_gzzt = ocGzzt;
	}
	public String getOc_wcsj() {
		return oc_wcsj;
	}
	public void setOc_wcsj(String ocWcsj) {
		oc_wcsj = ocWcsj;
	}
	public String getOc_fzr() {
		return oc_fzr;
	}
	public void setOc_fzr(String ocFzr) {
		oc_fzr = ocFzr;
	}
	
}
